package com.rio.xhg.controller;

import com.rio.xhg.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping("/getCount")
    void getUserCount(){
        System.out.println(userService.getUserCount());
    }

}
